<form action="{:sysuri()}" data-table-id="TagsData" class="layui-form" data-auto="true" method="post"
      style="min-height: 300px">
    <div class="layui-card-body padding-left-40">
        <label class="layui-form-item relative block">
            <span class="help-label"><b>金额（元）</b></span>
            <input class="layui-input" name="money" placeholder="请输入金额" required value='{$vo.money|default=""}'>
        </label>

        <label class="layui-form-item relative">
            <span class="help-label"><b>兑付日期</b></span>
            <input type="text" class="layui-input" name="free_time" id="free_time"
                   required
                   value="{$vo.free_time|default=''}" placeholder="请选择兑付日期">
        </label>
    </div>
    <input name='id' type='hidden' value=" {$vo.id|default='' }">

    <div class="layui-form-item text-center">
        <button class="layui-btn" type='submit'>保存数据</button>
        <button class="layui-btn layui-btn-danger" data-close type='button' data-confirm="确定要取消修改吗？">取消编辑</button>
    </div>
</form>

<script>
    $(function () {
        var laydate = layui.laydate;
        laydate.render({
            elem: '#free_time'
        });
    });
</script>